﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="article.aspx.cs" Inherits="__article" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
	<%--<link rel="Alternate" type="application/rss+xml" href="http://www.yourwebsite.com/rss.xml" title="RSS feed for this page"/>
--%>
	<style>
		.view
		{
			padding-bottom:0.5em;
		}
		
		.pageTitle
		{
			margin-bottom:25px;
		}
	</style>

	 <script>
			 /* <![CDATA[ */
  
			 oos.dom.onReady(function () {
			  oos.social.initShareMenu("shareMenu");
			 });
  
  
			 /* ]]> */
	</script>
</head>
	<body>
		<octo:MessageBox ID="noPublishedMsg" MessageType="Info" Visible="false" runat="server" />
		<octo:MessageBox ID="adminMode" MessageType="Info" Visible="false" runat="server" />

		<octo:IfModerator runat="server">
			<octo:IfTrue>
				<div class="oos_toolbar" style="text-align:right">
					<octo:LinkButton ID="edit" text="<%$ Resources:Main, article_Edit %>" icon="appres://img/edit.png" runat="server" />

					<octo:LinkButton ID="bookmarkButton" Tooltip="<%$ Resources:Main, article_Bookmark %>" icon="appres://img/bookmark.gif" runat="server">	<!-- text="Social Bookmarks" -->
							(opens popup control)
					</octo:LinkButton>

					<octo:LinkButton ID="shareBtn" Text="Share" runat="server">
						<octo:Menu ID="shareMenu" runat="server" />
					</octo:LinkButton>

					<%--<octo:LinkButton ID="sendFriendButton"  icon="appres://img/email.png" runat="server" />	<!-- text="Send to a Friend" -->--%>
					<octo:LinkButton ID="printButton" icon="appres://img/print.png" runat="server" />
					
					<%--<octo:LinkButton ID="trackbackButton" icon="appres://img/link.png" runat="server" />--%>	<!-- text="Trackback URL" -->
					<octo:LinkButton ID="rssButton" icon="appres://img/rss.gif" runat="server" />	<!-- text="Comments RSS" -->
				</div>
			</octo:IfTrue>
		</octo:IfModerator>

		<div style="color:gray;margin-bottom:.5em">
			<octo:Literal ID="created" Text="<%$ Resources:Main, shared_Published %> " runat="server" />
			<octo:Time ID="articleTime"  runat="server" /><br/>
			<octo:Literal ID="articleAuthor"  runat="server" />
		</div>

		<asp:MultiView ID="articleView" runat="server">
			<asp:View ID="regularView" runat="server">
				<div class="view">
					<h3 id="pageName" class="pageTitle" runat="server"></h3>
					<%--<img src="/images/cars.jpg" />--%>

					<div id="sectionsDiv" runat="server"></div>
					<octo:GenericPager ID="pager" runat="server" />
				</div>
			</asp:View>

			<asp:View ID="shortView" runat="server">
				<div class="view">
					<octo:Literal ID="preface" runat="server" />
					<br/>
					<a id="articleUrl" runat="server">
						<octo:Literal Text="<%$ Resources:Main, article_Read %>" runat="server" />
					</a>
				</div>
			</asp:View>
		</asp:MultiView>
			


		<octo:TreeThread id="threadView" runat="server">
			<ThreadHeaderTemplate>
				<octo:Literal ID="Literal1" Text = "<%$ Resources:Main, article_Comments %>" runat="server"/>
			</ThreadHeaderTemplate>
		</octo:TreeThread>

		
		<octo:CommentForm id="postForm" runat="server" />
	</body>
</html>
